<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:73:"D:\phpStudy\WWW\fa-gitee\public/../application/index\view\index\blog.html";i:1545893257;s:67:"D:\phpStudy\WWW\fa-gitee\application\index\view\layout\default.html";i:1545892938;s:64:"D:\phpStudy\WWW\fa-gitee\application\index\view\common\meta.html";i:1536636085;s:66:"D:\phpStudy\WWW\fa-gitee\application\index\view\common\script.html";i:1536636085;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?> – <?php echo __('The fastest framework based on ThinkPHP5 and Bootstrap'); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">

<?php if(isset($keywords)): ?>
<meta name="keywords" content="<?php echo $keywords; ?>">
<?php endif; if(isset($description)): ?>
<meta name="description" content="<?php echo $description; ?>">
<?php endif; ?>
<meta name="author" content="FastAdmin">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />

<link href="/assets/css/frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config: <?php echo json_encode($config); ?>
    };
</script>
        <link href="/assets/css/user.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
    </head>

    <body>

        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation" >
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#header-navbar">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="<?php echo url('/'); ?>" style="padding:6px 15px;"><img src="https://cdn.fastadmin.net/assets/img/logo.png" style="height:40px;" alt=""></a>
                </div>
                <div class="collapse navbar-collapse" id="header-navbar">
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="<?php echo url('/'); ?>"  ><?php echo __('Home'); ?></a></li>
                        <li><a href="<?php echo url('/index/index/bbs'); ?>" ><?php echo __('Bbs'); ?></a></li>
                        <li><a href="<?php echo url('/index/index/blog'); ?>" ><?php echo __('Blog'); ?></a></li>
                        <li><a href="<?php echo url('/index/forum/index'); ?>" ><?php echo __('Forum'); ?></a></li>
                        <li><a href="https://gitee.com/rinuo/fastadmin-bbs" target="_blank"><?php echo __('Download'); ?></a></li>
                        <li><a href="<?php echo url('/'); ?>" target="_blank"><?php echo __('Demo'); ?></a></li>
                        <li><a href="https://gitee.com/rinuo/fastadmin-bbs#project-donate-overview" target="_blank"><?php echo __('Donation'); ?></a></li>

                        <li class="dropdown">
                            <?php if($user): ?>
                            <a href="<?php echo url('user/index'); ?>" class="dropdown-toggle" data-toggle="dropdown" style="padding-top: 10px;height: 50px;">
                                <span class="avatar-img"><img src="<?php echo $user['avatar']; ?>" alt=""></span>
                            </a>
                            <?php else: ?>
                            <a href="<?php echo url('user/index'); ?>" class="dropdown-toggle" data-toggle="dropdown"><?php echo __('User center'); ?> <b class="caret"></b></a>
                            <?php endif; ?>
                            <ul class="dropdown-menu">
                                <?php if($user): ?>
                                <li><a href="<?php echo url('user/index'); ?>"><i class="fa fa-user-circle fa-fw"></i><?php echo __('User center'); ?></a></li>
                                <li><a href="<?php echo url('user/profile'); ?>"><i class="fa fa-user-o fa-fw"></i><?php echo __('Profile'); ?></a></li>
                                <li><a href="<?php echo url('user/changepwd'); ?>"><i class="fa fa-key fa-fw"></i><?php echo __('Change password'); ?></a></li>
                                <li><a href="<?php echo url('user/logout'); ?>"><i class="fa fa-sign-out fa-fw"></i><?php echo __('Sign out'); ?></a></li>
                                <?php else: ?>
                                <li><a href="<?php echo url('user/login'); ?>"><i class="fa fa-sign-in fa-fw"></i> <?php echo __('Sign in'); ?></a></li>
                                <li><a href="<?php echo url('user/register'); ?>"><i class="fa fa-user-o fa-fw"></i> <?php echo __('Sign up'); ?></a></li>
                                <?php endif; ?>

                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>

        <div style="margin-top: 30px;">
                <!DOCTYPE html>
<html>

    <head>

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="">

        <title>FastAdmin - <?php echo __('The fastest framework based on ThinkPHP5 and Bootstrap'); ?></title>

        <!-- Bootstrap Core CSS -->
        <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
        <link href="/assets/css/index.css" rel="stylesheet">

        <!-- Plugin CSS -->
        <link href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
        <link href="//cdn.bootcss.com/simple-line-icons/2.4.1/css/simple-line-icons.min.css" rel="stylesheet">

        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
            <script src="//cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
            <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>

    <body  >

            <header class="masthead"  style="min-height:200px;    margin-top: -30px;margin-bottom: 30px;padding: 20px;" >
                    <div class="overlay">
                        <div class="container">
                            <h1 class="display-1 text-white text-center">郭孟涛的博客</h1>
                            <h2 class="display-4 text-white text-center">基于FastAdmin 一起快乐学习！</h2>
                        </div>
                    </div>
            </header>
    
    <div class="container">
          <div class="jumbotron" style="display:none;">
          <h1>郭孟涛的博客</h1>
          <p>基于FastAdmin 一起快乐学习！ </p>
           
        </div>

        <ol class="breadcrumb">
                <li><a href="<?php echo url('index/index/index'); ?>">首页</a></li>
                <li class="active">博客</li>
        </ol>  
        
             

        <div class="row">

            <!-- 页面左侧 完整提交带有keep文件版本 11课 自动时间戳时间格式和课程源码下载 -->
              <div class="col-md-8">    


                     <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$blog): $mod = ($i % 2 );++$i;?>

                     <div class="page-header">
                        <h1>
                           <a href="<?php echo url('blogview',['id'=>$blog['id']]); ?>"><?php echo $blog['title']; ?> </a> 
                        </h1> 

                        <h2><small><?php echo $blog['content']; ?></small></h2>
                         

                        <small><?php echo $blog['createtime']; ?> </small>
                        <small>回复：<?php echo count($blog['comments']); ?>  </small>
                    </div>

                   


               <?php endforeach; endif; else: echo "" ;endif; ?>
                 
                
                <?php echo $list->render(); ?>

        </div>


        <!-- 页面右侧 -->
          <div class="col-md-4">

            <div class="panel panel-primary">
              <div class="panel-heading">FastAdmin零基础入门</div>
              <div class="panel-body">
                右侧页面内容。。。
              </div>

            </div></div>
       

        </div>




    </div>

    




    
 


  

    </body>

</html>
        </div>
           
        

        <footer class="footer" style="clear:both;display: none">
            <!-- FastAdmin是开源程序，建议在您的网站底部保留一个FastAdmin的链接 -->
            <p class="copyright">Copyright&nbsp;©&nbsp;2017-2018 Powered by <a href="https://www.fastadmin.net" target="_blank">FastAdmin</a> All Rights Reserved <?php echo $site['name']; ?> <?php echo __('Copyrights'); ?> <a href="https://www.miibeian.gov.cn" target="_blank"><?php echo $site['beian']; ?></a></p>
        </footer>

        <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo $site['version']; ?>"></script>

    </body>

</html>